package com.lz.androidlibraries.application;

import com.jf.push.PushInit;
import com.liuyk.commonlib.App;
import com.liuyk.commonlib.network.ApiInit;

/**
 * TrunkApplication
 * <p>
 * Created by liuyakui on 2020/3/26.
 */
public class TrunkApplication extends App {

    @Override
    public void onCreate() {
        super.onCreate();
        PushInit.init(this);
        PushInit.initShare(this, "wxb3ad2b954ceee453", "18e1dcd9ea21a8ceb177e554");
        ApiInit.getInstance()
                .builder("http://192.168.200.51:3000/")
//                .addInterceptor(new HeaderIntercept())
//                .setHeaders(getHeader())
                .create()
                .init();
    }
}
